package com.cdc.dragger8;

import javax.inject.Inject;

public class ApiService {
	
	private OKHttpClient mOKHttpClient;
	@Inject
	public ApiService() {
		System.out.println("===注解ApiService实例化====");
	}
	
	public ApiService(OKHttpClient mOKHttpClient) {
		System.out.println("===注解ApiService实例化 带参数====");
		this.mOKHttpClient=mOKHttpClient;
	}
	
	
	
	public void register() {
		System.out.println("===注解ApiService==register====");
		//请求数据
		mOKHttpClient.requestCall();
		
	}

}
